package com.example.demo.controller;


import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RequestMapping("/root")
@RestController
@CrossOrigin
public class RootController {

    @RequestMapping("/add")
    public String add()
    {
        return "添加成功";
    }
}
